<template>
  <div>
    <el-select
      v-model="cluster"
      placeholder="基于集群筛选"
      style="width:260px;margin-right:20px"
      @change="searchByCluster"
    >
      <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
      >
      </el-option>
    </el-select>
    <el-input
      v-model="app_name"
      placeholder="基于应用名称筛选"
      style="width:260px"
    >
      <el-button
        slot="append"
        icon="el-icon-search"
        @click="searchByAppName"
      ></el-button
    ></el-input>
  </div>
</template>

<script>
export default {
  data() {
    return {
      options: [],
      cluster: "",
      app_name: "",
    };
  },
  methods: {
    searchByAppName() {},
    searchByCluster() {},
  },
};
</script>

<style></style>
